<!-- inc:head -->
<div id="body">
	<div id="left">&nbsp;</div>
	<div id="right">
		<div id="user_cp" style="margin:80px 240px 80px 0;">
			<div class="block-msg">
			<form method="post" action="{:site_url('login,ok','',false)}" onsubmit="return login_chk();">
			<table width="100%">
			<tr>
				<td colspan="2" style="padding:10px;">会员登录</td>
			</tr>
			<tr>
				<td align="right">账号：</td>
				<td><input type="text" id="username" name="username" class="input_login" /></td>
			</tr>
			<tr>
				<td align="right">密码：</td>
				<td><input type="password" id="password" name="password" class="input_login" /></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="image" src="images/default/submit.gif" align="absmiddle" />&nbsp;<a href="{:site_url('login,getpass','',false)}">忘记密码？</a></td>
			</tr>
			<tr>
				<td align="right">&nbsp;</td>
				<td>
					<div><a href="{:site_url('register','',false)}">新会员注册</a></div>
				</td>
			</tr>
			</form>
			</table>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
function login_chk()
{
	var username = getid("username").value;
	var password = getid("password").value;
	if(!username || !password)
	{
		alert("账号或密码不能为空");
		if(!username)
		{
			getid("username").focus();
		}
		else
		{
			getid("password").focus();
		}
		return false;
	}
}
</script>
<!-- inc:foot -->